package com.tuyan.aixiang.api.module;

import com.google.gson.JsonElement;
import com.tuyan.aixiang.model.Result;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;

public interface User {

    /**
     * 用户详情
     * @param phonenumber
     * @return
     */
    @GET("/v1/p/dr/get-user-detail/{phone}")
    Observable<Result<JsonElement>> getUserDetail(@Path("phone") String phonenumber);
}
